package com.jdf.mapper;

import com.jdf.domain.PurchaseApply;
import com.baomidou.mybatisplus.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author anthour
 * @since 2022-09-29
 */
@Mapper
public interface PurchaseApplyMapper extends BaseMapper<PurchaseApply> {
    // mybatis的mapper方法当你需要传递多个参数的时候，必须以@Param写上每个参数的别名
    void updateStatusById(@Param("applyId") Long applyId, @Param("status")Integer status);
}
